body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: #000;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out; /* 背景图片平滑过渡 */
  overflow: hidden;
  position: relative;
}

/* 缩放效果 */
.effect-zoom {
  animation: zoomEffect 20s infinite;
}

@keyframes zoomEffect {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* 淡入淡出效果 */
.effect-fade {
  animation: fadeEffect 20s infinite;
}

@keyframes fadeEffect {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* 旋转效果 */
.effect-rotate {
  animation: rotateEffect 20s infinite linear;
}

@keyframes rotateEffect {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 加载动画 */
#loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #666;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 下载按钮样式 */
#download-button {
  position: fixed;
  bottom: 20px; /* 距离底部 20px */
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
  display: none; /* 初始隐藏 */
}

#download-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
